package com.zf.shuashua.bean.home;

import android.view.View;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.qq.e.ads.nativ.NativeExpressADView;
import com.zf.shuashua.bean.comment.UserEntity;

import java.io.Serializable;

public class HotVideoEntity implements MultiItemEntity, Serializable {

    public int id;
    public int type;
    public int user_id;
    public String title;
    public String avatar;
    public String location;
    public String media_id;
    public String external_media_id;
    public String media_url;
    public int length;
    public String description;
    public String advert_url;
    public String advert_html;
    public String advert_charge_type;
    public int comment_count;
    public int praise_count;
    public int forward_count;
    public String topic_id;
    public int status;
    public boolean is_recommend;
    public String recommended_at;
    public String supplier_id;
    public int sort;
    public String meta;
    public String created_at;
    public String updated_at;
    public String deleted_at;
    public UserEntity user;
    public String meta_info;
    public boolean is_praise_user;
    public boolean is_video_user;
    public String created_time;
    public int praise_count_text;
    public int comment_count_text;
    public int forward_count_text;
    public int follow_status;

    public int itemType;

    //以下字段为广告使用
    public String planId;
    public String uuiThirdAdvert;

    public transient View view;

    // 视频辅助字段
    public boolean is_video_paused = true;
    public int currentPosition = 0;

    @Override
    public int getItemType() {
        return itemType;
    }
}
